﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ModelLayer
{
	public class Movie
	{
		private int _id;
		private string _name;
		private string _genre;
		private string _description;

		// *** Constructors ***
		public Movie()
		{
			_id = 0;
			_name = "";
			_genre = "";
			_description = "";
		}
		public Movie(int id)
		{
			this._id = id;
		}
		public Movie(int id, string name, string genre, string description)
		{
			this._id = id;
			this._name = name;
			this._genre = genre;
			this._description = description;
		}

		// *** Getters and setters ***
		public int id
		{
			get
			{
				return _id;
			}
			set
			{
				_id = value;
			}
		}
		public string name
		{
			get
			{
				return _name;
			}
			set
			{
				_name = value;
			}
		}
		public string genre
		{
			get
			{
				return _genre;
			}
			set
			{
				_genre = value;
			}
		}
		public string description
		{
			get
			{
				return _description;
			}
			set
			{
				_description = value;
			}
		}
	}
}
